
<form id="form_add">
<table>
	<tr>
		<td align="right">责任人：</td>
		<td><input type="text" name="emp" id="emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" size="12" title="{[$t.emp_|emp:'责任人']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked> 自己</td>
		<td align="right">状态：</td>
		<td><select name='status'>
			{[html_options options=$status_option selected=1]}
		</select></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">大类：</td>
		<td colspan="3"><input type="text" name="category" id="category" size="12" value="" title="请输入固定资产所属范围较大的分类。"> <select name='category_t'
			id='category_t'>
			{[html_options options=$category_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">小类：</td>
		<td colspan="3"><input type="text" name="type" id="type" size="12" value="" title="请输入固定资产所属范围较小的分类。"> <select name='type_t' id='type_t'>
		</select></td>
	</tr>
	<tr>
		<td width="20%" align="right">所在地点：</td>
		<td width="30%"><input type="text" name="location" id="location" size="12" value=""></td>
		<td width="20%" align="right">日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$smarty.now|date_format:'%Y-%m-%d']}" size="10"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="4" name="content" cols="55"></textarea></td>
	</tr>	
</table>
</form>

<div style="margin-left:20px; margin-top:10px; width:530px;float:left;">
<div id="myGrid" style="width:100%;height:160px;"></div>

</div>

<script type='text/javascript'>
var data = {[$result.item]};
</script>

<script type="text/javascript" src="js/finance/asset/add.js?r={[$smarty.now]}"></script>
